package com.zq.it.dao.exam;

import java.util.List;

import com.zq.it.pojo.exam.TStudentTask;

/**
 * TStudentTaskDAO的接口类
 *
 * @author 王凡
 *
 * @version $ID:TStudentTaskDAO.java 2013-3-21 王凡@$
 */

public interface TStudentTaskDAO {

	public void save(TStudentTask transientInstance);

	public void delete(TStudentTask persistentInstance);

	public TStudentTask findById(Long id);

	public List findByExample(TStudentTask instance);

	public List findByProperty(String propertyName, Object value);

	public List findByIsdemote(Object isdemote);

	public List findByDemotionMessage(Object demotionMessage);

	public List findByMark(Object mark);

	public List findByTaskUrl(Object taskUrl);

	public List findByTaskFile(Object taskFile);

	public List findByStartTime(Object startTime);

	public List findByState(Object state);

	public List findByExtendField(Object extendField);

	public List findAll();

	public void update(TStudentTask instance);

	public List findByHql(String string);

	public void deleteByHql(String hql);
}